const { resolve } = require('path')
module.exports = {
    mode: 'production',
    entry: ['./src/index-2.js', './src/base.js'],
    output: {
        clean: true,
        path: resolve(__dirname, 'dist'),
        filename: 'js/[name]-bundle.js',
        assetModuleFilename:'images/[name][ext]',
        environment:{
            arrowFunction:false
        }
    }
}